import { ajax } from "@/utils/request";
//订单列表请求
export function ordersList(data){
  return ajax ({
    method:'GET',
    url:'/orders',
    data
  })
}
// 订单修改 
export function ordersEdit(data) {
  return ajax({
    url:'/orders' + data.id ,
    method: 'PUT',
    data
  })
}